home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / microcrn / issue_40.arc / TBUG.ARC / TBUG.DOC < prev    next >
Encoding:
Text File  |  1988-03-04  |  3.4 KB  |  108 lines

  1. For those of you (like myself) who aren't C experts, here are a few notes
  2. on the use of TBUG.
  3.  
  4. To incorporate the debugger into your code just include the line:
  5.  
  6.                             debug_init ();
  7.  
  8. It can be most anywhere in the code, but Gary Mellor (the author) suggests
  9. putting the line near the beginning of the program.
  10.  
  11. I used the command line version with the following parameters to include the
  12. debugger in HELLO.C. This assumes that you've set up the directory structure
  13. as recommended in the TurboC manual. If you've used different names for the
  14. include and lib subdirectories, make the appropriate changes in the following
  15. command line:
  16.  
  17.         C:\TURBOC>tcc -y -ms -M -I.\include -L.\lib hello tbug.obj
  18.  
  19. If you want to make any changes to the debugger, recompile it to .OBJ with
  20. the following line:
  21.  
  22.         C:\TURBOC>tcc -y -ms -c -I.\include -L.\lib tbug
  23.  
  24. Your new version of TBUG.OBJ will then be ready for use.
  25.  
  26. Enjoy!
  27. Larry Fogg - Micro Cornucopia
  28.  
  29.  
  30. For more information on the debugger, see the article on page 54 in the 
  31. March/April 1988 issue of Micro Cornucopia. You can order that
  32. issue (while they last) for $3.95 (postpaid, U.S.) from Micro 
  33. Cornucopia, 1-800-888-8087. 
  34.  
  35.                     _______________________________
  36.                     |                             |
  37.                     | The Micro Technical Journal |
  38.                     |      Micro Cornucopia       |
  39.                     |     (March/April 1988)      |
  40.                     |                             |
  41.                     | 11 C Compilers Compared     |
  42.                     | Writing A Simple Parser     |
  43.                     | Introduction to C++         |
  44.                     | Debugger For Turbo C        |
  45.                     | Fast New AI Language        |
  46.                     | Inside the PC's PPI Chip    |
  47.                     | Advertising Your New Product|
  48.                     | Turbo Pascal 4.0            |
  49.                     | And much, much more         |
  50.                     |_____________________________| 
  51.  
  52. Each issue of Micro Cornucopia is packed with information
  53. for the software and hardware designer. We're technical but
  54. not stuffy.
  55.  
  56.                             ------
  57.  
  58. Our readers say:
  59.  
  60. "You're the Mother Earth News of the computer world."
  61.  
  62. "I read every word of every issue."
  63.  
  64. "It's really fun to read, I've dropped all the rest because
  65.  they're deadly dull."
  66.  
  67. "You've got credibility. Keep saying it like it is."
  68.  
  69.                              ------
  70.  
  71. Coming up:
  72.  
  73. Servicing your XT/AT. 
  74.      Many problems diagnose themselves if you know what to look for.
  75.  
  76. The Great Database Issue.
  77.      Who's adding AI functions to their report generators? (& does it matter?)
  78.      Linking C code into standard database packages
  79.         (Who's got the hooks and where are they?)
  80.      A C routine (with source) which writes screens for dBASE
  81.      Which database packages work best?
  82.  
  83.                              ------
  84.  
  85. Hardware design:
  86.  
  87. Unlike a lot of other publications we're not just software.
  88.      Want to monitor or control the outside world? 
  89.      Want to build a printer buffer?
  90.      Want the latest on inexpensive boards or complete systems?
  91.  
  92.  
  93.                              ------
  94.  
  95. To Subscribe:
  96.  
  97. Send $18 (for one year, 6 issues) to:
  98.  
  99.      Micro Cornucopia
  100.      PO Box 223
  101.      Bend, Oregon 97709
  102.  
  103. or call our order line:
  104.  
  105.      1-800-888-8087
  106.  
  107. visa & mastercard
  108.